package com.tanhua.dubbo.server.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.bson.types.ObjectId;
import org.springframework.data.mongodb.core.mapping.Document;

@Data
@AllArgsConstructor
@NoArgsConstructor
@Document(collection = "option")
public class Option implements java.io.Serializable{
    private static final long serialVersionUID = -9092054461002319296L;

    private ObjectId id;//选项id
    private String qid;//问题id
    private String option;//选项内容
    private Integer score;//分数
    private Long created;
}
